package xml.rationalship.onetomany.danxiang;

import java.util.HashSet;
import java.util.Set;

public class Class {
	
	
	private Integer id;
	private String name;
	private Set<Student> set = new HashSet<Student>();
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<Student> getSet() {
		return set;
	}
	public void setSet(Set<Student> set) {
		this.set = set;
	}
	
	
}
